package com.lizhongbao.cloud.feign.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * feign 调用服务
 * hystrix 熔断器
 * @FeignClient(value = "服务名(spring.application.name)")
 */
@FeignClient(value = "gateway-server/server-provider")
public interface GatewayHelloClient {

    @GetMapping("/hello")
    String hello();
}
